package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 申请加盟DO
 *
 * @author Ke.Wang
 * @date 2018年7月16日 下午9:59:28
 */
@Entity
@Table(name = "reg_apply_join")
@Setter
@Getter
@ToString(callSuper = true)
public class RegApplyJoinDO extends BaseDO {

    private static final long serialVersionUID = 3035842509878941600L;

    @Id
    @Column(name = "apply_join_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long applyJoinId;
    @Column
    private String proposer;
    @Column(name = "phone_num", length = 20, nullable = false)
    private String phoneNum;
    @Column
    private Short sex;
    @Column(name = "apply_join_time", nullable = false)
    private Date applyJoinTime;
    @Column(name = "apply_join_status")
    private Short applyJoinStatus;
    @Column(name = "apply_join_note")
    private String applyJoinNote;
    @Column(name = "apply_pass_time")
    private Date applyPassTime;

}
